package com.hz.lowb.nami.base.dao;

import com.hz.lowb.nami.base.dto.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by tfw2302 on 2017/1/6.
 */
public interface TagAndWebSiteDao {

    List<Tag> listByWebSiteId(@Param("webSiteId") Long webSiteId);

    int countByUrlAndTagId(@Param("url") String webSiteUrl, @Param("tagId") Long tagId);

    int save(@Param("tagId") Long tagId, @Param("webSiteId") Long webSiteId);

}
